package com.jinke.api.modules.app.enums;

import lombok.Getter;

/**
 * @projectName:
 * @title: OrderParcelStatus
 * @description: OrderParcelStatus status 枚举
 * @see:
 * @author: hhp
 * @version: 1.0.0
 * @createTime: 2024/8/20 14:14
 */
@Getter
public enum OrderParcelStatus {
    //1.已收到，2.传输中，3.已交付，4.已作废，5.失败
    RECEIVED(1, "已收到"),
    IN_TRANSIT(2, "传输中"),
    DELIVERED(3, "已交付"),
    VOIDED(4, "已作废"),
    FAIL(5, "失败");

    private final Integer value;

    private final String desc;

    OrderParcelStatus(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
